//
//  SleepBaseCell.swift
//  DaRings
//
//  Created by 尹琼 on 2022/11/4.
//

import UIKit
import MYModule

open class SleepBaseCell: TableViewCell {

   let bgView = View()
    
    open override func makeUI() {
        super.makeUI()
        
        contentView.backgroundColor =  UIColor.darkBackground
        bgView.backgroundColor = UIColor.background
        bgView.cornerRadius = 18.0
        
        contentView.addSubview(bgView)
        
        bgView.snp.makeConstraints { make in
            make.top.left.right.equalToSuperview()
            make.bottom.equalToSuperview().offset(-20)
        }
    }
    
    public func bind(to cellType: SleepViewModel.CellType) {
        
    }

}
